class Pattern:
    def __init__(self, pattern_str, pattern_type):
        self.pattern_str = pattern_str
        self.pattern_list = pattern_type

class Taskbase:
    def get_patterns(self):
        raise Exception('please implement this method')

class TaskStatus:
    def __init__(self):
        self.is_enable = False